﻿<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
	<base href="<%=basePath%>">
	<meta http-equiv="content-type" content="text/html; charset=UTF-8">
	<meta charset="utf-8">
	<title>银商通支付通信前置系统</title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=no">
	<meta name="description" content="银商通支付通信前置系统">
	<meta name="author" content="sheungxin">
	<!-- STYLESHEETS --><!--[if lt IE 9]><script src="js/flot/excanvas.min.js"></script><script src="js/flot/html5.js"></script><script src="js/css3-mediaqueries.js"></script><![endif]-->	
	<link rel="stylesheet" type="text/css" href="css/cloud-admin.min.css" >
	<link rel="stylesheet" type="text/css"  href="css/themes/default.min.css" id="skin-switcher" >
	<link rel="stylesheet" type="text/css"  href="css/responsive.min.css" >
	
	<link href="font-awesome/css/font-awesome.min.css" rel="stylesheet">
	<!-- JQUERY UI-->
	<link rel="stylesheet" type="text/css" href="js/jquery-ui-1.10.3.custom/css/custom-theme/jquery-ui-1.10.3.custom.min.css" />
</head>
<body  ng-app="qzApp" ng-controller="qzAppController">
			<div class="container">
				<div class="row">
					<div id="content" class="col-lg-12">
						<!-- PAGE HEADER-->
						<div class="row">
							<div class="col-sm-12">
								<div class="page-header">
									<!-- STYLER -->
									
									<!-- /STYLER -->
									<!-- BREADCRUMBS -->
									<ul class="breadcrumb">
										<li>
											<i class="fa fa-th-large"></i>
											<a href="manage/business/list.jsp" target="user_main_iframe">应用管理</a>
											<li>应用详情</li>
										</li>
									</ul>
								</div>
							</div>
						</div>
						<!-- /PAGE HEADER -->
						
						<!-- EXPORT TABLES -->
						<div class="row">
							<div class="col-md-12">
								<!-- BOX -->
								<div class="box border primary">
									<div class="box-title">
										<h4><i class="fa fa-bars"></i></h4>
										<div class="tools hidden-xs">
											<a href="javascript:;" class="reload" ng-click="refreshData()">
												<i class="fa fa-refresh"></i>
											</a>
											<a href="javascript:;" class="collapse">
												<i class="fa fa-chevron-up"></i>
											</a>
										</div>
									</div>
									<div class="box-body big">
									<form class="form-horizontal" role="form">
										<div class="form-group">
											<label class="col-sm-2 control-label">应用名称：</label>
											<div class="col-sm-4 checkbox-inline">
											  {{appdetail.name}}
											</div>
											<label class="col-sm-2 control-label">应用编码：</label>
											<div class="col-sm-4 checkbox-inline">
												{{appdetail.code}}
											</div>
										 </div>
										 <div class="form-group">
											<label class="col-sm-2 control-label">应用类型：</label>
											<div class="col-sm-4 checkbox-inline">
											 {{appdetail.typeName}}
											</div>										
											<label class="col-sm-2 control-label">应用状态：</label>
											<div class="col-sm-4 checkbox-inline">
											 	<span ng-switch on="appdetail.status">
													<span ng-switch-when="0">删除</span>
													<span ng-switch-when="1">锁定</span>
													<span ng-switch-when="2">启用</span>
												</span>
											</div>
										  </div>
										  <div class="form-group">
											<label class="col-sm-2 control-label">机构：</label>
											<div class="col-sm-4 checkbox-inline">
											 {{appdetail.channelName}}
											</div>										
											<label class="col-sm-2 control-label">业务分类：</label>
											<div class="col-sm-4 checkbox-inline">
											 	{{appdetail.businessName}}
											</div>
										  </div>
										  <div class="form-group">
											<label class="col-sm-2 control-label">应用说明：</label>
											<div class="col-sm-9 checkbox-inline">
											 {{appdetail.memo}}
											</div>
										 </div>
										 <div class="form-group">
											<label class="col-sm-2 control-label">创建人：</label>
											<div class="col-sm-4 checkbox-inline">
											 {{appdetail.creator}}
											</div>										  
											<label class="col-sm-2 control-label">创建时间：</label>
											<div class="col-sm-4 checkbox-inline">
											 {{appdetail.ctime | date:'yyyy-MM-dd HH:mm:ss'}}
											</div>
										  </div>
										  <div class="form-group">
											<label class="col-sm-2 control-label">修改人：</label>
											<div class="col-sm-4 checkbox-inline">
											 {{appdetail.modifier}}
											</div>										  
											<label class="col-sm-2 control-label">修改时间：</label>
											<div class="col-sm-4 checkbox-inline">
											 {{appdetail.utime | date:'yyyy-MM-dd HH:mm:ss'}}
											</div>
										  </div>
										  <div class="form-group">
											<div class="col-sm-offset-3 col-sm-9">
											  <button type="button" class="btn btn-warning cancel" ng-click="businessCancle()">返回</button>
											</div>
										  </div>
										 </form>
									</div>
									<div class="separator"><h6>已关联的接口</h6></div>
									<table id="example-dark" class="table table-striped">
										<thead>
											<tr>	
												<th>接口名称</th>
												<th>业务分类</th>
												<th>机构</th>
											</tr>
										</thead>
										<tbody>
											<tr ng-repeat="it in interList" ng-cloak class="ng-cloak">
												<td>{{it.interName}}&nbsp;</td>
												<td>{{it.businessName}}&nbsp;</td>
												<td>{{it.channelName}}&nbsp;</td>											
											</tr>
										</tbody>
									</table>				
								</div>
								<!-- /BOX -->
							</div>
						</div>
						<!-- /EXPORT TABLES -->
						<div class="footer-tools">
							<span class="go-top">
								<i class="fa fa-chevron-up"></i> Top
							</span>
						</div>
					</div><!-- /CONTENT-->
				</div>
			</div>  
			<script src="js/jquery/jquery-2.0.3.min.js"></script>
	<!-- JQUERY UI-->
	<script src="js/jquery-ui-1.10.3.custom/js/jquery-ui-1.10.3.custom.min.js"></script>
	<!-- BOOTSTRAP -->
	<script src="bootstrap-dist/js/bootstrap.min.js"></script>

	<!-- SLIMSCROLL -->
	<script type="text/javascript" src="js/jQuery-slimScroll-1.3.0/jquery.slimscroll.min.js"></script><script type="text/javascript" src="js/jQuery-slimScroll-1.3.0/slimScrollHorizontal.min.js"></script>
	<!-- BLOCK UI -->
	<script type="text/javascript" src="js/jQuery-BlockUI/jquery.blockUI.min.js"></script>
	<!-- COOKIE -->
	<script type="text/javascript" src="js/jQuery-Cookie/jquery.cookie.min.js"></script> 
	<!-- CUSTOM SCRIPT -->
	<script src="js/script.js"></script>
	<!--<script>
		jQuery(document).ready(function() {
		   	App.init();
		});
	</script>
	--><script src="js/angular.min.js"></script>
	<script src="js/modules/manage/apps/details.js"></script>                 
</body>
</html>